<template>
  <div class="custom-toast-wrap">
    <div class="custom-toast-content">
      <p class="tip-title">{{ title }}</p>
      <p class="tip-des">{{ content }}</p>
    </div>
  </div>
</template>

<script>
export default {
  name: 'CustomToast',
  data() {
    return {
      title: '',
      content: ''
    };
  }
};
</script>

<style lang="scss" scoped>
.custom-toast-wrap {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  .custom-toast-content {
    width: 192px;
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 6px;
    color: #fff;
    .tip-title {
      font-size: 15px;
      text-align: center;
      padding-bottom: 3px;
    }
    .tip-des {
      font-size: 12px;
      text-align: center;
    }
  }
}
.van-popup {
  background-color: transparent;
}
</style>
